package edu.sctu.zhuyingzhi.month201505.day20150505.homeworkV1;

/**
 * Created by user13 on 2015/5/5.
 */
public class Print1 implements DogInterface{
    public void get(String color, int size, String action) {
        System.out.println("color="+color+" size="+size+" action="+action);
    }
    public void print() {

        System.out.println("123456");
        Dog1 dog1=new Dog1();
        dog1.getAction();
        dog1.getColor();
        dog1.getSize();
        dog1.getinfo(this);

        Dog2 dog2=new Dog2();
        dog2.getAction();
        dog2.getColor();
        dog2.getSize();
        dog2.getinfo(this);


        Dog3 dog3=new Dog3();
        dog3.getAction();
        dog3.getColor();
        dog3.getSize();
        dog3.getinfo(this);


}


}